package cn.eeepay.framework.service;

import cn.eeepay.framework.db.pagination.Page;
import cn.eeepay.framework.model.AccountAddressTask;

import java.util.List;

public interface AccountAddressTaskService {

    public int insert(AccountAddressTask accountAddress);

    public int update(AccountAddressTask accountAddress);

    public int delete(Integer id);

    public List<AccountAddressTask> select(Integer id);

    public void saveOrUpdate(String address,List<AccountAddressTask> list);

    List<AccountAddressTask> selectByAccountAddressId(Integer accountAddressId, Page<AccountAddressTask> page);

    void autoEffective();

}
